﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>JS Vs Jquery</title>
</head>
<body>
    <button id="button1">Click Me</button>
    <p id="demo"></p>
</body>
</html>
<!--<script src="Scripts/jquery-2.1.4.js"></script>-->
<script language="javascript">
    document.getElementById("button1").addEventListener("click", function () {
        document.getElementById("demo").innerHTML = "Hello World";
    });

    //$('#button1').click(function () {
    //    $('#demo').text('hello world');
    //});

</script>